//
//  YQInformationCell.m
//  OverseasImmigration
//
//  Created by yuqin on 2019/6/1.
//  Copyright © 2019年 yuqin. All rights reserved.
//

#import "YQInformationCell.h"

@implementation YQInformationCell

- (void)setModel:(YQInformationModel *)model {
    
    [self.icon sd_setImageWithURL:[NSURL URLWithString:model.litpic]];
    self.titleLab.text = model.title;
    self.timeLab.text = model.pubDate;
    self.immigrationTypeLab.text = model.yiminType;
}

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
    self.icon.layer.cornerRadius = 3;
    self.icon.layer.masksToBounds = YES;
    self.backgroundColor = UIColorFromRGB(0xeeeeee);
}

@end
